package dto

// UserCreateDTO 用户创建DTO
type UserCreateDTO struct {
	Username string `json:"username" binding:"required"`
	Password string `json:"password" binding:"required"`
	Nickname string `json:"nickname" binding:"required"`
	Phone    string `json:"phone"`
	Email    string `json:"email"`
	Avatar   string `json:"avatar"`
	Role     int    `json:"role" binding:"required"`
	Status   int    `json:"status"`
}

// UserUpdateDTO 用户更新DTO
type UserUpdateDTO struct {
	ID       uint64 `json:"id" binding:"required"`
	Nickname string `json:"nickname" binding:"required"`
	Phone    string `json:"phone"`
	Email    string `json:"email"`
	Avatar   string `json:"avatar"`
	Role     int    `json:"role" binding:"required"`
	Status   int    `json:"status" binding:"required"`
}
